package com.yang.job.admin.client.api;


import com.yang.job.admin.client.dto.YangJobDTO;
import com.yang.job.admin.client.dto.command.DeleteYangJobCommand;
import com.yang.job.admin.client.dto.command.NewYangJobCommand;
import com.yang.job.admin.client.dto.command.UpdateYangJobCommand;
import com.yang.job.admin.client.dto.common.Response;

public interface YangJobService {
    Response<YangJobDTO> saveYangJob(NewYangJobCommand newYangJobCommand);

    Response<YangJobDTO> updateYangJob(UpdateYangJobCommand updateYangJobCommand);

    Response<YangJobDTO> deleteYangJob(DeleteYangJobCommand deleteYangJobCommand);
}
